﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SlaughterItem.Common.Domains.UPCTable
{
    /// <summary>
    /// 商品代号表
    /// </summary>
    public class UPCData
    {
        /// <summary>
        /// 商品代号ID
        /// </summary>
        [Key]
        public int GoodsMinuteId {  get; set; }
        /// <summary>
        /// 助记码
        /// </summary>
        public string MemoryNum { get; set; } = string.Empty;
        /// <summary>
        /// 商品分类Id
        /// </summary>
        public int CommodityId {  get; set; }
        /// <summary>
        /// 顺序号 
        /// </summary>
        public int OrderNum {  get; set; }
        /// <summary>
        /// 等级ID
        /// </summary>
        public int GoodsGradeId {  get; set; }
        /// <summary>
        /// 商品代号名称
        /// </summary>
        public string UPCDataName {  get; set; }=string.Empty;
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsGoodsMinute {  get; set; }=false;
    }
}
